package com.drivers.user.mapper;

import com.drivers.model.user.CountMoney;
import com.drivers.model.user.FindId;
import com.drivers.model.user.Login;
import com.drivers.model.user.User;

import java.util.Date;
import java.util.List;

public interface UserMapper {
    User findUser(Integer id);

    String findAssets(Integer sid);

    String findIncome(Integer sid);

    void updatePoint(Integer driverPoint, Integer id);

    User loginName(String username);

    int loginPassword(Login login);

    int updateAssetsQuan(Integer id);

    int updateAssetsId(User user);

    Integer countAssets(Integer sid);

    List<CountMoney> findCountMoney(Integer id);

    CountMoney findByIdCountMoney(FindId id);

    Object findPhone(String phone);

    void userInsertAttribute(User user);

    Integer userSelectID(String driverPhone);

    void userInsertProperty(Integer id);

    void userInsertRecord(Login login);

    Object findName(String driverName);

    void InsertWithdrawal(FindId findId);
}
